package com.oa.pm.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.oa.pm.entity.PostponedLeaveApply;
import com.oa.pm.vo.PostponedLeaveApplyListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostponedLeaveApplyMapper extends BaseMapper<PostponedLeaveApply> {

    List<PostponedLeaveApplyListVO> findPostponedLeaveApplyList(Page page, @Param("userId") String userId, @Param("name") String name);

    PostponedLeaveApplyListVO findPostponedLeaveApplyDetails(String id);
}
